home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Flock 0.9.1.3 stable / flock-0.9.1.3.en-US.win32.exe / flock / chrome / browser.jar / content / browser / search / engineManager.xul < prev    next >
Extensible Markup Language  |  2006-08-23  |  3KB  |  86 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/"?>
  4. <?xml-stylesheet href="chrome://browser/skin/engineManager.css"?>
  5.  
  6. <!DOCTYPE dialog SYSTEM "chrome://browser/locale/engineManager.dtd">
  7.  
  8. <dialog id="engineManager"
  9.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  10.         buttons="accept,cancel,extra2"
  11.         buttonlabelextra2="&restoreDefaults.label;"
  12.         buttonaccesskeyextra2="&restoreDefaults.accesskey;"
  13.         onload="gEngineManagerDialog.init();"
  14.         ondialogaccept="gEngineManagerDialog.onOK();"
  15.         ondialogcancel="gEngineManagerDialog.onCancel();"
  16.         ondialogextra2="gEngineManagerDialog.onRestoreDefaults();"
  17.         title="&engineManager.title;"
  18.         style="&engineManager.style;"
  19.         persist="screenX screenY"
  20.         windowtype="Browser:SearchManager">
  21.  
  22.   <script type="application/x-javascript"
  23.           src="chrome://browser/content/search/engineManager.js"/>
  24.   <script type="application/x-javascript"
  25.           src="chrome://global/content/nsDragAndDrop.js"/>
  26.  
  27.   <commandset id="engineManagerCommandSet">
  28.     <command id="cmd_remove"
  29.              oncommand="gEngineManagerDialog.remove();"
  30.              disabled="true"/>
  31.     <command id="cmd_moveup"
  32.              oncommand="gEngineManagerDialog.bump(1);"
  33.              disabled="true"/>
  34.     <command id="cmd_movedown"
  35.              oncommand="gEngineManagerDialog.bump(-1);"
  36.              disabled="true"/>
  37.     <command id="cmd_editalias"
  38.              oncommand="gEngineManagerDialog.editAlias();"
  39.              disabled="true"/>
  40.   </commandset>
  41.  
  42.   <keyset id="engineManagerKeyset">
  43.     <key id="delete" keycode="VK_DELETE" command="cmd_remove"/>
  44.   </keyset>
  45.  
  46.   <description>&engineManager.intro;</description>
  47.   <separator class="thin"/>
  48.   <hbox flex="1">
  49.     <tree id="engineList" flex="1" rows="10" hidecolumnpicker="true"
  50.           seltype="single" onselect="gEngineManagerDialog.onSelect();">
  51.       <treechildren id="engineChildren" flex="1"
  52.                     ondraggesture="nsDragAndDrop.startDrag(event, gDragObserver);"/>
  53.       <treecols>
  54.         <treecol id="engineName" flex="1" hideheader="true"/>
  55.       </treecols>
  56.     </tree>
  57.     <vbox>
  58.       <spacer flex="1"/>
  59.       <button id="up"
  60.               label="&up.label;"
  61.               accesskey="&up.accesskey;"
  62.               command="cmd_moveup"/>
  63.       <button id="dn"
  64.               label="&dn.label;"
  65.               accesskey="&dn.accesskey;"
  66.               command="cmd_movedown"/>
  67.       <spacer flex="1"/>
  68.       <button id="remove"
  69.               label="&remove.label;"
  70.               accesskey="&remove.accesskey;"
  71.               command="cmd_remove"/>
  72.     </vbox>
  73.   </hbox>
  74.   <hbox>
  75.     <checkbox id="enableSuggest"
  76.               label="&enableSuggest.label;"
  77.               accesskey="&enableSuggest.accesskey;"/>
  78.     <spacer flex="1"/>
  79.   </hbox>
  80.   <hbox>
  81.     <label id="addEngines" class="text-link" value="&addEngine.label;"
  82.            onclick="gEngineManagerDialog.loadAddEngines();"/>
  83.     <spacer flex="1"/>
  84.   </hbox>
  85. </dialog>
  86.